#include <stdio.h>
#include <stdlib.h>
#include <string.h>


int main(void)
{
    printf("Content-Type: text/plain;charset=us-ascii\n\n");
    char* data;
    char tmp[100];
    int j = 0;
    int i = 0;
    data = getenv("QUERY_STRING");
	if(data != "")
	{
		while(data[i] != '=')
		{
		  ++i;
		}
		while(i < (strlen(data)-1))
		{
			tmp[j++] = data[++i];
		}
	}
    tmp[j] = '\0';
    printf("Hello, Dear %s!", tmp);
}